package operation;

import demon1.Book;
import demon1.BookList;

public class ShowOperation implements IOPeration{
    @Override
    public void work(BookList bookList) {
        int currentSzie=bookList.getUseSize();
        for (int i = 0; i < currentSzie; i++) {
            Book book=bookList.getBooks(i);
                System.out.println(book);

        }
    }
}
